<template>
  <div>
    home
    <hr />
    <div class="vuex">
      vuex:{{ $store.state.count }}
      <br />
      <div class="aaa">stylus测试</div>
    </div>
    <el-button @click="goELEClick">去往ElementUI</el-button>
    <img src="@/assets/img/logo.jpg" />
  </div>
</template>
<script>
  export default {
    methods: {
      goELEClick() {
        this.$router.push('/ele')
      }
    },
    mounted() {
      console.log(this.$store)
    }
  }
</script>
<style scoped lang="stylus">
  $font-size = 14px
    .vuex
      background-color: $pinkColor
      font-size $font-size
      .aaa
        width 110px
        height @width
        user-select none
        fontSize14()
</style>
